﻿using Omabar.BLL;
using Omabar.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Omabar.CMS.CMS
{
    public partial class RouteFlightAdd : System.Web.UI.Page
    {
        protected string id;
        protected ROUTEFLIGHT routeFlight;
        protected void Page_Load(object sender, EventArgs e)
        {
            id = Request["id"];
                if (string.IsNullOrEmpty(id))
                    Response.Redirect("RouteList.aspx");

            RouteFlight_BLL rfBLL=new RouteFlight_BLL();
            routeFlight = rfBLL.GetModel(id);
            if (routeFlight == null) routeFlight = new ROUTEFLIGHT();
        }
    }
}